<!DOCTYPE html>
<html>
    <head lang="en">
        <meta charset="UTF-8">
        <title></title>
        <style>
        
        </style>
        <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"> </script>
        <script src="jquery-ui.min.js"> </script>
        <script> 
        $(function(){
            $("#btn").button().on("click",function(){
                $("#div").dialog();
            });
        });
        </script>
        <link rel="stylesheet" href="jquery-ui.min.css">
    </head>
    <body>
      <div id="div">
          <p>这是dui</p>

      </div>
      <a id="btn">按钮</a>
    </body>
</html>